package dk.sdu.flexibus.persistence;

import android.content.SharedPreferences;

public class PrimitivePreferences {
	private static final String KEY_CITIZEN_ID = "KEY_CITIZEN_ID";

	public static String getCitizenId(SharedPreferences preferences){
		String result = Persister.readString(preferences, 0, KEY_CITIZEN_ID, "");
		return result;
	}
	
	public static void setCitizenId(SharedPreferences preferences, String citizenId){
		Persister.writeString(preferences, 0, KEY_CITIZEN_ID, citizenId);
	}
}
